package itman.elm.dao;

import itman.elm.po.Cart;

import java.util.List;

public interface CartDao {
    //查询所有的Cart， 保存list中
    public List<Cart> listCart(Cart cart) throws Exception;
    //保存Cart
    public int saveCart(Cart cart)throws Exception;
    //移除Cart
    public int removeCart(Cart cart)throws Exception;
    //更新Cart
    public int updateCart(Cart cart) throws Exception;
}
